package com.ffyc.cms.dao;

import com.ffyc.cms.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    //登录
    User login(User user);

    //注册
    void insertUser(User user);

    //查询用户信息
    User findUserMsg(String account);

    void updateUserMsg(User user);

    User checkPwd(User user);

    void updateUserPwd(User user);

    List<User> getUserList();

    void updateaccstate(@Param("id") Integer id,@Param("accstate") Integer accstate);
}
